package com.agriculture.competition.service;

import com.agriculture.competition.domain.JaCompetitionSolution;

import java.util.List;

/**
 * 解决方案Service接口
 * 
 * @author agriculture
 * @date 2024-11-12
 */
public interface IJaCompetitionSolutionService 
{
    /**
     * 查询解决方案
     * 
     * @param id 解决方案主键
     * @return 解决方案
     */
    public JaCompetitionSolution selectJaCompetitionSolutionById(Long id);

    /**
     * 查询解决方案列表
     * 
     * @param jaCompetitionSolution 解决方案
     * @return 解决方案集合
     */
    public List<JaCompetitionSolution> selectJaCompetitionSolutionList(JaCompetitionSolution jaCompetitionSolution);

    /**
     * 新增解决方案
     * 
     * @param jaCompetitionSolution 解决方案
     * @return 结果
     */
    public int insertJaCompetitionSolution(JaCompetitionSolution jaCompetitionSolution);

    /**
     * 修改解决方案
     * 
     * @param jaCompetitionSolution 解决方案
     * @return 结果
     */
    public int updateJaCompetitionSolution(JaCompetitionSolution jaCompetitionSolution);

    /**
     * 批量删除解决方案
     * 
     * @param ids 需要删除的解决方案主键集合
     * @return 结果
     */
    public int deleteJaCompetitionSolutionByIds(Long[] ids);

    /**
     * 删除解决方案信息
     * 
     * @param id 解决方案主键
     * @return 结果
     */
    public int deleteJaCompetitionSolutionById(Long id);
}
